﻿using System.ComponentModel.DataAnnotations;

namespace Book_WebAPI.Models
{
    public class BookUpdate
    {
        [Required(ErrorMessage = "图书名称不得为空！")]
        public string title { get; set; }
        public string description { get; set; }
        public string pages { get; set; }
    }
}
